package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.WdyVcRelease;

import java.math.BigDecimal;
import java.util.List;

/**
 * vc释放 数据层
 *
 * @author ruoyi
 * @date 2019-12-16
 */
public interface WdyVcReleaseMapper extends BaseMapper<WdyVcRelease>
{
    /**
     * 查询vc释放信息
     *
     * @param id vc释放ID
     * @return vc释放信息
     */
    public WdyVcRelease selectWdyVcReleaseById(Long id);

    /**
     * 查询vc释放列表
     *
     * @param wdyVcRelease vc释放信息
     * @return vc释放集合
     */
    public List<WdyVcRelease> selectWdyVcReleaseList(WdyVcRelease wdyVcRelease);

    /**
     * 新增vc释放
     *
     * @param wdyVcRelease vc释放信息
     * @return 结果
     */
    public int insertWdyVcRelease(WdyVcRelease wdyVcRelease);

    /**
     * 修改vc释放
     *
     * @param wdyVcRelease vc释放信息
     * @return 结果
     */
    public int updateWdyVcRelease(WdyVcRelease wdyVcRelease);

    /**
     * 删除vc释放
     *
     * @param id vc释放ID
     * @return 结果
     */
    public int deleteWdyVcReleaseById(Long id);

    /**
     * 批量删除vc释放
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWdyVcReleaseByIds(String[] ids);

    BigDecimal getSum(WdyVcRelease wdyVcRelease);
}